package com.liuyang.second.concurrency.chapter5;

public class Clinet {
    public static void main(String[] args) {
        Gate gate = new Gate();
        User bj = new User("BeiJing","BaoBao",gate);
        User sh = new User("ShangHai","ShangHai",gate);
        User gz = new User("GuangZhou","GuangZhou",gate);
        bj.start();
        sh.start();
        gz.start();
    }
}
